package bb.lanxing.model.json;

import com.github.mikephil.charting.utils.Utils;
import bb.lanxing.model.database.IWorkout;
import java.util.List;

public class WorkOutEstPower {
    private Integer code;
    private powerResult data;
    private String msg;
    private IWorkout workout;

    public WorkOutEstPower setWorkout(IWorkout workout) {
        this.workout = workout;
        return this;
    }

    public IWorkout getWorkout() {
        return this.workout;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return this.code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public powerResult getData() {
        return this.data;
    }

    public void setData(powerResult data) {
        this.data = data;
    }

    public static class powerResult {
        private List<Float> distance;
        private List<Float> power;
        private Double powerAvg;
        private Double powerFTP;
        private Double powerIF;
        private Double powerMax;
        private Double powerNP;
        private Double powerTSS;
        private Double powerVI;
        private Integer status;

        public powerResult() {
            Double valueOf = (double) Utils.DOUBLE_EPSILON;
            this.powerNP = valueOf;
            this.powerAvg = valueOf;
            this.powerIF = valueOf;
            this.powerMax = valueOf;
            this.powerFTP = valueOf;
            this.powerTSS = valueOf;
            this.powerVI = valueOf;
        }

        public Double getPowerNP() {
            return this.powerNP;
        }

        public void setPowerNP(Double powerNP) {
            this.powerNP = powerNP;
        }

        public Double getPowerAvg() {
            return this.powerAvg;
        }

        public void setPowerAvg(Double powerAvg) {
            this.powerAvg = powerAvg;
        }

        public Double getPowerIF() {
            return this.powerIF;
        }

        public void setPowerIF(Double powerIF) {
            this.powerIF = powerIF;
        }

        public Double getPowerMax() {
            return this.powerMax;
        }

        public void setPowerMax(Double powerMax) {
            this.powerMax = powerMax;
        }

        public Double getPowerFTP() {
            return this.powerFTP;
        }

        public void setPowerFTP(Double powerFTP) {
            this.powerFTP = powerFTP;
        }

        public Double getPowerTSS() {
            return this.powerTSS;
        }

        public void setPowerTSS(Double powerTSS) {
            this.powerTSS = powerTSS;
        }

        public Double getPowerVI() {
            return this.powerVI;
        }

        public void setPowerVI(Double powerVI) {
            this.powerVI = powerVI;
        }

        public Integer getStatus() {
            return this.status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public List<Float> getPower() {
            return this.power;
        }

        public void setPower(List<Float> power) {
            this.power = power;
        }

        public List<Float> getDistance() {
            return this.distance;
        }

        public void setDistance(List<Float> distance) {
            this.distance = distance;
        }
    }
}
